execute if entity @s[tag=dream_craftingtable] at @s run data modify entity @e[type=item,nbt={Item:{id:"minecraft:barrel",Count:1b}},limit=1,distance=..1] Item set value {id:"carrot_on_a_stick",Count:1b,tag:{id:"dreamland:crafting_table",CustomModelData:120003,display:{Name:'[{"translate":"item.dreamland.craftingtable","italic":false}]'}}}
execute if entity @s[tag=block.dreamland.infusetable] at @s run data modify entity @e[type=item,nbt={Item:{id:"minecraft:barrel",Count:1b}},limit=1,distance=..1] Item set value {id:"carrot_on_a_stick",Count:1b,tag:{id:"dreamland:infuse_table",CustomModelData:120004,display:{Name:'[{"translate":"item.dreamland.infuse_table","italic":false}]'}}}
execute if entity @s[tag=dream_breaker] at @s run data modify entity @e[type=item,nbt={Item:{id:"minecraft:barrel",Count:1b}},limit=1,distance=..1] Item set value {id:"carrot_on_a_stick",Count:1b,tag:{id:"dreamland:dream_breaker",CustomModelData:120011,display:{Name:'[{"translate":"item.dreamland.dream_breaker","italic":false}]'}}}
execute if entity @s[tag=dream_defender] at @s run data modify entity @e[type=item,nbt={Item:{id:"minecraft:barrel",Count:1b}},limit=1,distance=..1] Item set value {id:"carrot_on_a_stick",Count:1b,tag:{id:"dreamland:dream_defender",CustomModelData:120009,display:{Name:'[{"translate":"item.dreamland.dream_defender","italic":false}]'}}}
execute if entity @s[tag=block.dreamland.dream_portal] at @s run data modify entity @e[type=item,nbt={Item:{id:"minecraft:barrel",Count:1b}},limit=1,distance=..1] Item set value {id:"carrot_on_a_stick",Count:1b,tag:{id:"dreamland:dream_portal",CustomModelData:120006,display:{Name:'[{"translate":"item.dreamland.dream_portal","italic":false}]'}}}
kill @e[type=item,nbt={Item:{tag:{id:"dreamland:index"}}}]
kill @s